package com.gnerv.sylvanas.framework.core.exception;

import com.gnerv.sylvanas.framework.common.model.RestResult;
import com.gnerv.sylvanas.framework.common.tools.StringTools;
import com.gnerv.sylvanas.framework.core.tools.JsonTools;

/**
 * <p>
 * 业务处理异常
 * </p>
 *
 * @author Gnerv LiGen
 */
public class BusinessException extends BaseException {

    public BusinessException(String message) {
        super(message);
    }

    public BusinessException(String message, Object ...parameter) {
        super(StringTools.format(message, parameter));
    }

}
